import Layout from '@/layout'

export default {
	path: '/stock',
	name: 'stock',
	component: Layout,
	meta: {
		title: '股债基',
		icon: 'el-icon-odometer',
		roles: ['admin', 'guest']
	},
	alwaysShow: true,
	children: [
		{
			path: 'sh019547',
			name: 'Sh019547',
			component: () => import('@/views/stock/sh019547'),
			meta: {
				title: '16国债19',
				roles: ['admin', 'guest']
			}
		},
		{
			path: 'national-debt-vs-stock-index',
			name: 'NationalDebtVsStockIndex',
			component: () => import('@/views/stock/nationalDebtVsStockIndex'),
			meta: {
				title: '股债比',
				roles: ['admin', 'guest']
			}
		},
		// {
		// 	path: 'percent-list',
		// 	name: 'PercentList',
		// 	component: () => import('@/views/stock/percentList'),
		// 	meta: {
		// 		title: '蛋卷指数估值',
		// 		roles: ['admin', 'guest']
		// 	}
		// },
        {
        	path: 'index-valuation',
        	name: 'IndexValuation',
        	component: () => import('@/views/stock/indexValuation'),
        	meta: {
        		title: '蛋卷指数估值',
        		roles: ['admin', 'guest']
        	}
        },
        {
        	path: 'index-valuation-detail',
        	name: 'IndexValuationDetail',
        	component: () => import('@/views/stock/indexValuationDetail'),
        	meta: {
        		title: '蛋卷指数估值详情',
        		roles: ['admin', 'guest']
        	},
            hidden: true
        },
        {
        	path: 'index-vs-index',
        	name: 'IndexVsIndex',
        	component: () => import('@/views/stock/indexVsIndex'),
        	meta: {
        		title: '指数估值对比',
        		roles: ['admin', 'guest']
        	}
        },
        {
        	path: 'cb-index',
        	name: 'CbIndex',
        	component: () => import('@/views/stock/cbIndex'),
        	meta: {
        		title: '可转债双低',
        		roles: ['admin', 'guest']
        	}
        },
        {
        	path: 'cf-summary',
        	name: 'CfSummary',
        	component: () => import('@/views/stock/cfSummary'),
        	meta: {
        		title: '折价封基',
        		roles: ['admin', 'guest']
        	}
        }
	]
}
